$('.send').on('tap',function(){
	dialog('Thanks for Sharing','We have sent a message to your friend(s) on your behalf and we will notify you if you have earned an e-coupon the next time login.Thanks!',1);
	var $dialog = $('#dialog');
	$dialog.show();
    
    $dialog.find('.comfirmBtn').one('click', function () {
        $dialog.hide();
        $dialog.remove();
        
        location.href=MPJ.base+"/pages/other/referfriend-thank.jsp";
        
    });
})
